<template>
  <div class="banner" style="width: 80%;margin:10px auto">
    <el-carousel>
      <el-carousel-item v-for="(image, index) in images" :key="index">
        <img :src="image.url" class="carousel-image"/>
      </el-carousel-item>
    </el-carousel>
  </div>
</template>
<script>
export default {
  name: "banner",
  data(){
    return{
      images: [
        {url: require('@/assets/banner_0.png')},
        {url: require('@/assets/banner_2.png')},
        {url: require('@/assets/banner_2.jpeg')},
      ],
    }
  }
}
</script>
<style scoped>
.banner{

}
</style>
